home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / reef205.zip / QUEST.TXT < prev    next >
Text File  |  1996-10-21  |  9KB  |  304 lines

  1. `b c`-=-= Sample Quest to Test all Commands =-=-
  2. `b bl`            by MoonDust
  3. /squiggles
  4. `b w`Each quest must begin with the title of the quest.
  5. The second line contains the name or handle of the author.
  6. /anyquit
  7. Gives the user a choice of hitting any key to continue or typing
  8. "Q" to quit.
  9.  
  10. See quest2.txt, quest3.txt, quest4.txt also.
  11.  
  12. `b g`For a blank line, simply leave one as per above.
  13.  
  14. /female
  15. Don't print this if it's a male.
  16. /endsex
  17. /male
  18. Don't print this if it's a female.
  19. /endsex
  20. Ends the /male /female stuff and says start printing for both sexes again.
  21. /anykey
  22. Anykey says to stop and wait for a keypress.
  23.  
  24. Color codes can be used in the text as well.
  25. `b g`Another comment to break the silence.
  26. `b r`If you wish to indent, do not start each line with spaces, it won't
  27. work as the script trims the expression for command comparison.
  28. To indent, simply put a color code at the beginning and follow it
  29. with the number of spaces you desire.
  30. `b w`      An example of how to indent.
  31. `b g`      Put a color code at the beginning to retain the spaces.
  32. /anykey
  33.  
  34. /comment
  35. Print everything between /comment and /endcomment to the file, but not
  36. to the screen for the user to see.
  37. /endcomment
  38. /anykey
  39.  
  40. I will now show the scores:
  41. /anykey
  42. /scores
  43. I will now show your stuff:
  44. /anykey
  45. /yourstuff
  46.  
  47. `b m`Now you are ready to give gifts or prizes to the player. Here is an
  48. example of how to give a prize of a randomly selected attribute.
  49. By typing: /attribute, the system knows to randomly select one of the
  50. attributes and give a gift of the one selected.
  51. /attribute
  52. 2
  53. `b c`The wood nymph waves her magical wand over you.
  54. Some where you have received a gift.
  55.  
  56. `b m`In the above example, one random attribute was incremented with a 
  57. value of 2. There are 3 possible values for gifts: 1, 2, 3. 2 indicates 
  58. an average amount, 1 indicates a lower amount, and 3 indicates a higher
  59. amount. The amount given is proportionate to the player's level in the 
  60. game. The phrase: /attribute must be followed only by a 1,2, or 3. 
  61. Any other number is invalid!
  62. /anykey
  63.  
  64. `b w`If, per chance, your quest is getting rather lengthy and you feel the
  65. player's mom might begin to yell at them to get off the computer to
  66. have supper, you might occasionally allow them a chance to quit the
  67. quest. You can do so by typing: /anyquit. This allows any key to continue
  68. or quit, at the player's discretion.
  69. /anyquit
  70.  
  71. `b y`If you want a dramatic pause, simply type: /pause.
  72. /pause
  73. `b m`For an even longer pause type: /longpause.
  74. /longpause
  75. These are commands you can use to pause any amount you wish.
  76. The number following /pause indicates how many periods to pause...
  77. /pause5
  78. /pause10
  79. /pause15
  80. /anyquit
  81.  
  82. `b r`
  83. If you wish to use an ansi, simply type /ansi followed by the name of the
  84. ansi which you wish to show.
  85. /ansi
  86. game.ans
  87. /row:15
  88. The command /row: tells the system you want to set the cursor on the line
  89. number following the command. In the above example, you are setting the
  90. cursor on line #15. This is useful when you are sending a short ansi to
  91. the screen.
  92. /anykey
  93. /clear
  94. To place a phrase anywhere on the screen, you will use the following
  95. new commands:
  96.  
  97. /row:10
  98. This places your line on row 10. ie: /row:10
  99. If you do not specify column, it defaults to column 1.
  100. If you wish to place the cursor
  101. in a specific column, you must add the phrase /column:20
  102. /column:20
  103. /row:15
  104. This line will print on row 15, column 20.
  105. The column is ONLY good for the first line following the /row
  106. command. You MUST have the column command followed by the /row: command.
  107. If you wish to switch back to column 1 before the new /row command,
  108. you must call /column:1 first.
  109. /row:8
  110. This will print on row 8 in column 20.
  111. /row:24
  112. /anykey
  113. /clear
  114. /ansi
  115. game.ans
  116. /column:40
  117. /row:5
  118. This will print on column 40, row 5.
  119. /column:1
  120. /row:24
  121. /anykey
  122. /clear
  123.  
  124.  
  125.  
  126.  
  127. `b bl`
  128. You can add color codes all throughout your text. Just make sure that
  129. every line is less than a screen length. Just zoom your text window to
  130. full size and type. When you get to the end of the line, always hit enter.
  131. Do NOT allow word wrap.
  132. /anykey
  133.  
  134. ****
  135. `b f y`For more choice examples, please see the file: quest3.txt
  136. ***
  137.  
  138. `b c`In the next example, say you want to end the quest if they select #1
  139. but you want to offer another set of up to ONLY 3 choices if they
  140. select the second 1, and you want to continue on if they select the
  141. third one:
  142.  
  143. `b bl`     A. `b r`Select A.
  144. `b bl`     B. `b r`Select B.
  145. `b bl`     C. `b r`Select C.
  146. /get:ABC
  147. /choice1
  148. You chose 1. Now the quest will end.
  149. We put endquest below to say if they chose this, end it here.
  150. /endquest
  151. /choice2
  152. You chose 2. Now you will have some more choices.
  153. Here we give them another set of choices if they chose #2.
  154. `b bl`     A. `b r`Select A again.
  155. `b bl`     B. `b r`Select B again.
  156. `b bl`     C. `b r`Select C again.
  157. /getsub:ABC
  158. /choicesub1
  159. Here is choice 1 of the second group.
  160. /choicesub2
  161. Here is choice 2 of the second group.
  162. /choicesub3
  163. Here is choice 3 of the second group.
  164. Notice how we end the sub section with /endchoicesub
  165. /endchoicesub
  166. /choice3
  167. You chose 3. Now you will go on again.
  168. Notice how we end the mother choice set with /endchoice
  169. /endchoice
  170. /anyquit
  171.  
  172. `b f g`Continuing onward once the choices are done!
  173. /anyquit
  174.  
  175. /battle
  176. A terrible looking beast
  177. tears into you with its mighty claws!
  178. /choice1
  179. You won!
  180. /choice2
  181. You Chicken!
  182. /endchoice
  183. /anykey
  184.  
  185. In the above example, you are setting up for a battle. You create the
  186. beast by saying: /battle which says you are going to describe the creature
  187. on the first line and give the action he takes when attacking on the
  188. second line. The beast's name can have 25 letters and the beast's attack
  189. string can have 55 characters.
  190.  
  191. If the player loses in battle, they are sent to the healers and won't be
  192. able to play again until the next day. So the only scenarios you need
  193. to come up with is what you want to do if they win or run!
  194. /anyquit
  195.  
  196. /clear
  197. Type /clear to Clear the screen.
  198. /anyquit
  199.  
  200. `b w`
  201. Here is an example of adding a phrase to indicate how much of something
  202. someone has won. It will not work with the /attribute command as you
  203. have no idea which one they won, so you can't tell them. But you can
  204. say: You receive so much of some attribute or whatever wonderful words
  205. you want to use:
  206. `b c`
  207. The lines at the bottom indicate that you want to give an average amount
  208. of dinar. Then you are building a phrase which will consist of the amount
  209. they won in the middle. So you type: /buildphrase to indicate that the
  210. system is to start building and not put a return until /endphrase.
  211. The command /win indicates to plug in the amount of the winnings. It will
  212. not be 2. It will be the actual value won. For a high level it might
  213. be 86 or something like that.
  214. /anykey
  215. `b r`
  216. In the below 2 examples, running this program will abort before you finish
  217. the dinar gift. The reason: authors are only allowed ONE gift per quest.
  218. The idea of the quest is to be short and sweet and allow only ONE gift.
  219. That makes sure the game is not allowed to get lopsided. If the author
  220. runs this live as a test, the system will alert the author that s/he
  221. has made a mistake in trying to give more than one gift.
  222. `b c`
  223. /dinar
  224. 2
  225.  
  226. Each quest allows the author to give the player ONE reward.
  227. When a player selects the correct answer to an ABC selection or when
  228. a player wins a battle, you may wish to give a reward. (The system will
  229. already give dinars and experience in battle.) To give rewards you
  230. simply type one of these lines followed by 1 2 or 3 on the line below.
  231. The 1 indicates a low reward, 2 is a medium reward and 3 is a high reward.
  232.  
  233. /experience
  234. 1
  235. If you want the player to know how much of something they just received,
  236. you can type:
  237. /buildphrase
  238. You receive
  239. /win
  240. experience.
  241. /endphrase
  242. /anykey
  243.  
  244. The following lines are in comments as you are NOT allowed to give more
  245. than one reward per quest. If you have two of these in quest, it will
  246. abort the quest and send an alert to the author.
  247.  
  248. /comment
  249. /dinar
  250. 3
  251. /strength
  252. 2
  253. /defence
  254. 1
  255. /dexterity
  256. 3
  257. /agility
  258. 2
  259. /wisdom
  260. 3
  261. /charisma
  262. 2
  263. /romance
  264. 3
  265. /endcomment
  266.  
  267. If you want the system to randomly select what reward to give, you may
  268. type /attribute with some appropriate phrase:
  269. `b c`The wood nymph waves her magical wand over you.
  270. Some where you have received a reward.
  271. /attribute
  272. 2
  273. The above will cause the program to abort since only one reward is
  274. allowed per quest.
  275.  
  276. /questearn
  277. Allows you to give the player an additional quest. If the player has
  278. met his/her daily quest quota for the day, the player will be given
  279. dinars instead. Test this both ways to see what happens if you use
  280. this.
  281.  
  282. /take:charisma
  283. /take:defence
  284. /take:dexterity
  285. /take:experience
  286. /take:strength
  287. /take:dinar
  288. /take:wisdom
  289. /take:agility
  290. /take:romance
  291.  
  292. /buildphrase
  293. You lose
  294. /win
  295. romance.
  296. /endphrase
  297. /anykey
  298.  
  299. If the player deserves a punishment, you can take away an attribute,
  300. etc. by using one of the above commands. Only one deduction allowed
  301. per quest.
  302.  
  303. Also, in the buildphrase, use /win for the loss to build the phrase.
  304.